package com.directv.z8training.ex3;

/**
 * @author HieuLT8
 *
 */
public class StakeHolder extends Observer {
	
	public StakeHolder(Bank bank) {
		this.bank = bank;
		this.bank.attach(this);
	}

	@Override
	public void update() {
		System.out.println("Rate notify to Stakeholder :" + bank.getState());
	}

}
